Pronamic\WordPress\Pay\Gateways\Mollie\Gateway D

Total Complexity 236
Dependencies 46
Dependents 1
Total lines 1,837
Lines of code 1,021
Logical lines of code 661
Comment lines 420
Methods 28
Properties 4

Methods 28

Method Rating Maintainability Complexity Lines of code
update_payment_from_mollie_payment()
D
15
70 248
get_payment_request()
C
33 22 101
maybe_enrich_payment_methods()
B
41 18 55
create_customer_for_payment()
A
44 13 42
has_valid_mandate()
A
48 12 32
create_refund()
A
44 9 46
get_order_request()
A
43 8 47
get_webhook_url()
A
48 8 35
copy_customer_id_to_wp_user()
A
48 8 34
update_subscription_mandate()
A
49 8 30
maybe_create_shipment_for_payment()
A
46 7 40
start_payment()
S
46 6 39
process_direct_debit_mandate_from_bank_details()
S
48 6 36
get_customer_ids_for_payment()
S
56 5 19
get_first_existing_customer_id()
S
57 5 18
get_retry_seconds()
S
61 5 13
__construct()
S
39 1 72
update_payment_from_mollie_order()
S
59 4 14
get_resource_for_payment()
S
53 3 26
start_order()
S
60 3 13
start()
S
61 3 13
get_customer_id_for_subscription()
S
69 2 7
update_status()
S
67 2 8
get_payment_methods()
S
69 2 7
get_ideal_issuers()
S
67 2 8
get_mode()
S
79 2 3
get_customer_ids_for_user()
S
64 1 10
get_customer_id_for_payment()
S
73 1 5